debug capture voip physical

This command captures network traffic on a physical VoIP network interface.

Syntax

# debug capture voip physical {clear|cyclic-buffer|eth-lan|get_last_capture|insert-pad|show|start|stop|target}
# debug capture voip physical target {ftp|tftp|usb}
# debug capture voip physical get_last_capture <TFTP/FTP Server IP Address>
To start a capture:
# debug capture voip physical start 
To stop a capture:
# debug capture voip physical stop {<TFTP/FTP server IP Address>|usb}

Command

Description

clear

Deletes captured files from the device's RAM.

cyclic-buffer

Continuously captures packets in a cyclical buffer.
Packets are continuously captured until the Stop command is entered.

eth-lan

Captures LAN frames.

get_last_capture

Retrieves the last captured PCAP file sent to a specified TFTP/FTP server IP address.

Note: The file is saved to the device's memory (not flash) and is erased after a device reset.

insert-pad

Before running this command, the debug capture must be started.

Inserts a PAD packet. A marked packet is shown with black background regardless of the configured coloring rules. Benefit: A marked packet can easily be located later when analyzing in a large capture file.

show

Displays debug status and configured rules.

start

Starts the capture.

stop

Stops the capture and sends the capture file to the specified target. The capture file is named:
"debug-capture-voip-<timestamp>.pcap"

target

Defines the capture storage target:

    ftp
    tftp
    usb

user

(Only applicable if ftp is specified as the capture storage target) Defines the name of the FTP user.

password

(Only applicable if ftp is specified as the capture storage target) Defines the password of the FTP user.

Command Mode

Privileged User

Note

To free up memory on your device, it is recommended to delete the captured files when you no longer need them, using the following command: debug capture voip physical clear
Capturing to USB is applicable only to devices providing USB port interfaces.
The command is applicable only to MP-1288, Mediant 5xx, Mediant 8xx; Mediant 1000B, Mediant 2600 and Mediant 4000.

Examples

Starting a physical VoIP debug capture:
# debug capture voip physical eth-lan
# debug capture voip physical start
Retrieving the latest capture (PCAP file) saved on a specified server.
# debug capture voip physical get_last_capture 10.15.7.99 
Specifying USB as the destination to which to send the PCAP file:
# debug capture voip physical target usb